package foodserver;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.subway.babynote.syncdata.ClientDataRecordBase;
import com.subway.babynote.syncdata.ClientDataRecord.user_auth_info;

import querysrc.query_getweibo;
import querysrc.query_height_weight;


/**
 * Servlet implementation class getweibo
 */
public class getweibo extends getbase {
	private static final long serialVersionUID = 1L;
	query_getweibo qa = null;	   
    /**
     * @see getbase#getbase()
     */
    public getweibo() {
        super();
        // TODO Auto-generated constructor stub
    }


	@Override
	 protected void initialize_subquery()
    {
    	qa = new query_getweibo(this.sqlconhandler);
    }
	protected void destory_subquery()
	{
		this.release_query(qa);
	}

	@Override
	protected List<ClientDataRecordBase> get_data(user_auth_info uai) {
		// TODO Auto-generated method stub
		return qa.get_weibo(uai.id);
	}

}
